<script setup>
import store from '../../store'
import VIcon from "./VIcon.vue";

</script>

<template>
  <div class="v-sidebar-logo">
    <v-icon icon="ElementPlus" size="25" color="#409EFF"/>
    <span v-show="!store.getters.isCollapsed">Element Plus</span>
  </div>
</template>

<style scoped>
.v-sidebar-logo {
  height: 50px;
  box-sizing: border-box;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  /*添加过渡效果*/
  transition: all 0.3s ease;

  > span {
    margin-left: 10px;
    font-weight: 600;
    font-size: 16px;
  }
}
</style>